package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.BuySample;
import com.weixing.mall.provider.model.dto.BuySampleDto;
import com.weixing.mall.provider.model.query.BuySampleQuery;
import com.weixing.mall.provider.model.vo.BuySampleVo;

import java.util.List;

/**
 * <p>
 * 商品模块-买板表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-20
 */
public interface IBuySampleService extends IService<BuySample> {

    IPage<BuySampleVo> selectOfPage(Page page, BuySampleQuery buySampleQuery);
    void save(BuySampleDto buySampleDto, Long uid);

    void delAll(int[] ids);

    void delById(Long id);

    void batchInsertImportData(List<BuySample> list);
}
